﻿namespace Moria.Common.Model
{
    public class InventoryRecord
    {
        public InventoryRecord() { }
        public InventoryRecord( InventoryRecord item )
        {
            this.BaseCost = item.BaseCost;
            this.AdjustedCost = item.AdjustedCost;
            this.InventoryItem = new InventoryItem(item.InventoryItem);
        }

        public InventoryItem InventoryItem { get; set; }
     
        public int BaseCost { get; set; }
        public int AdjustedCost { get; set; }
        public static implicit operator InventoryItem(InventoryRecord itm)
        {
            return itm.InventoryItem;
        }
    }
}
